//
//  YSAppConfig.m
//  YouSheng
//
//  Created by aaa on 16/8/17.
//  Copyright © 2016年 FanShuHan. All rights reserved.
//

#import "YSAppConfig.h"

@implementation YSAppConfig

+ (instancetype)sharedConfig {
    static YSAppConfig *instance = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        instance = [[YSAppConfig alloc] init];
    });
    return instance;
}

- (instancetype)init {
    if (self = [super init]) {
        _appKey = @"45c6af3c98409b18a84451215d0bdd6e";
        _apiURL = @"https://app.netease.im/api";
        _cerName= @"ENTERPRISE";
    }
    return self;
}

- (NSString *)appKey {
    return _appKey;
}

- (NSString *)apiURL {
    return _apiURL;
}

- (NSString *)cerName {
    return _cerName;
}
@end
